package com.zelo.blog.server.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zhanglu
 * @description
 * @date 2017/11/21 20:59
 */
@FeignClient("authentication-center")
public interface AuthenticationCenterClient {
    @PostMapping("/secure/token")
    String refreshToken(@RequestBody String token);
}
